package day04;
import java.util.Scanner;//
public class ScannerDemo {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);//
        System.out.println("请输入年龄:");//
        int age = scan.nextInt();//
        System.out.println("请输入姓名:");
        String a = scan.next();
        char c = '\n';
        System.out.println("请输入价格:");
        double price = scan.nextDouble();
        System.out.println("年龄:"+age+c+"姓名:"+a+c+"价格:"+price);
    }
}
